package yzbx.personalwebsite.config;

/**
 * {@code @Author} zxm
 * {@code @Description} todo
 * {@code @Date} 2024/09/29/18:02
 * {@code @Version} 1.0
 */
public class Constants {

    // redis百度热点数据的key
    public static final String KEY_BAIDU = "BAIDU";
    // 日志主题
    public static final String THEME_BAIDU = "百度热点";

    // redis微博热点数据的key
    public static final String KEY_WEIBO = "WEIBO";
    // 日志主题
    public static final String THEME_WEIBO = "微博热点";

    // redis知乎热点数据的key
    public static final String KEY_ZHIHU = "ZHIHU";
    // 日志主题
    public static final String THEME_ZHIHU = "知乎热点";

    // redis头条热点数据的key
    public static final String KEY_TOUTIAO = "TOUTIAO";
    // 日志主题
    public static final String THEME_TOUTIAO = "头条热点";

    // redisB站热点数据的key
    public static final String KEY_BILIBILI = "BILIBILI";
    // 日志主题
    public static final String THEME_BILIBILI = "B站热点";

    // redis贴吧热点数据的key
    public static final String KEY_TIEBA = "TIEBA";
    // 日志主题
    public static final String THEME_TIEBA = "贴吧热点";

    // redis实用网站的key
    public static final String KEY_USEFWEBS = "USEFWEBS";
    // 日志主题
    public static final String THEME_USEFWEBS = "实用网站";

    // redis实用网站的key
    public static final String KEY_USEFWEBSGROUP = "USEFWEBSGROUP";
    // 日志主题
    public static final String THEME_USEFWEBSGROUP = "实用网站组";

    // redis实用网站的key
    public static final String KEY_WEBLOG = "WEBLOG";
    // 日志主题
    public static final String THEME_WEBLOG = "网站日志";

    // redis文章随笔的key
    public static final String KEY_RECOIDEA = "RECOIDEA";
    // 日志主题
    public static final String THEME_RECOIDEA = "文章随笔";

    // redis富文本编辑器的key
    public static final String KEY_WANGEDITOR = "WANGEDITOR";
    // 日志主题
    public static final String THEME_WANGEDITOR = "富文本编辑器";


    // 用户权限1 封号用户 禁止登录
    public static final String USER_LEVEL_1 = "1";
    // 用户权限2 限制用户 查看公共数据
    public static final String USER_LEVEL_2 = "2";
    // 用户权限3 注册用户 新增个人数据，逻辑删除个人数据，每天限制产出10文章，需要经过审核
    public static final String USER_LEVEL_3 = "3";
    // 用户权限4
    public static final String USER_LEVEL_4 = "4";
    // 用户权限5 产出没有限制
    public static final String USER_LEVEL_5 = "5";
    // 用户权限6 管理员 新增公共数据，无需审核
    public static final String USER_LEVEL_6 = "6";
    // 用户权限7 逻辑删除公共数据
    public static final String USER_LEVEL_7 = "7";
    // 用户权限8 物理删除数据，修改系统配置
    public static final String USER_LEVEL_8 = "8";
    // 用户权限9 高权管理员
    public static final String USER_LEVEL_9 = "9";


    // HTTP状态码 成功
    public static final String HTTP_CODE_200 = "200";
    public static final String HTTP_CODE_200_MSG = "处理成功";
    // HTTP状态码 失败
    public static final String HTTP_CODE_500 = "500";
    public static final String HTTP_CODE_500_MSG = "失败";
    // HTTP状态码 失败
    public static final String HTTP_CODE_501 = "501";
    public static final String HTTP_CODE_501_MSG = "该账号已存在";
    // HTTP状态码 失败
    public static final String HTTP_CODE_502 = "502";
    public static final String HTTP_CODE_502_MSG = "该账号不存在";
    // HTTP状态码 失败
    public static final String HTTP_CODE_503 = "503";
    public static final String HTTP_CODE_503_MSG = "密码错误";
    // HTTP状态码 失败
    public static final String HTTP_CODE_504 = "504";
    public static final String HTTP_CODE_504_MSG = "session过期，请重新登录";
    // HTTP状态码 失败
    public static final String HTTP_CODE_510 = "510";
    public static final String HTTP_CODE_510_MSG = "该文章不存在";
    // HTTP状态码 失败
    public static final String HTTP_CODE_511 = "511";
    public static final String HTTP_CODE_511_MSG = "读取上传文件失败";
    // HTTP状态码 失败
    public static final String HTTP_CODE_512 = "512";
    public static final String HTTP_CODE_512_MSG = "参数为空";

}
